//
//  SYSearchJumpCollectionViewCell.m
//  TermOfSectionB
//
//  Created by dlios on 15/12/2.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "SYSearchJumpCollectionViewCell.h"

@implementation SYSearchJumpCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.productImage = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, 140, 140)];
        [self.contentView addSubview:self.productImage];

        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 150, 150, 30)];
        [self.contentView addSubview:self.titleLabel];
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        
        self.contetLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 180, 150, 20)];
        [self.contentView addSubview:self.contetLabel];
        self.contetLabel.textAlignment = NSTextAlignmentCenter;
        self.contetLabel.textColor = [UIColor grayColor];
    }
    return self;
}

@end
